@charset "utf-8";
$font-size: 40;
@function r($px) {
  @return $px/(2*$font-size) * 1rem;
}

header {
  width: 100%;
  height: r(76);
  position: absolute;
  top: 0;
  border-bottom: 1px solid #a8a9a8;
  p {
    font-size: r(30);
//  margin: r(20) auto 0;
    line-height: r(76);
    text-align: center;
    color: rgba(0,0,0,0.9);
  }
  a {
      display: block;
      position: absolute;
      left: r(28);
      height: r(76);
      //top: r(18);
    .iconfont ,.icon-youbian1:before{
        position: relative;
        top: r(9);
        vertical-align: top;
      font-size: r(36);
      color: black;
    }
  }
}

section {
  position: absolute;
  top: r(76);
  bottom: 0;
  width: 100%;
  overflow-y: scroll;
  
  article {
      z-index: 2;
    width: r(585);
    margin: 0 auto;
    line-height: r(100);
    .item {
      height: r(100);
      width: 100%;
      border-bottom: 1px solid rgb(229, 229, 229);
      p {
        font-size: r(24);
        float: left;
        color: rgba(0,0,0,0.7);
        a {
          font-size: r(24);
          color: rgba(0,0,0,0.7);
        }
      }
      img {
        float: right;
        width: r(35);
        height: r(35);
        display: inline-block;
        margin-top: r(33);
      }
      a {

        i {
          float: right;
          line-height: r(100);
          color: black;
          font-size: r(30);
        }
      }
    }
  }
  #code{
        width:r(360);
        height: r(360);
        background: #999;
        border: r(12) solid #666;
        border-radius: r(4);
        position: relative;
        left:r(128);
        bottom:r(450); 
        border-radius: r(24);
         transition: all 500ms;
         opacity:0; 
         z-index:1; 
        &:after{
            content: '';
            position: absolute;
            right: r(-40);
            bottom: r(50);
            width: r(40);
            height: r(40);
            border-width: 0;
            border-style: solid;
            border-color: transparent;
            border-top-width: r(30);
            border-top-color: #666;
            border-radius:  0 r(60)  0 0  ;
            color: #dddddd;
        }
      div{
          
          width: r(360);
          height: r(360);
          overflow: hidden;
         
          img{
            width: 100%;
            height: 100%;
          }
      }

}
}
